home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!tsys.demon.co.uk
- From: Tom Wheeley <tomw@tsys.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: I need help.
- Date: Fri, 29 Mar 96 20:06:37 GMT
- Organization: City Zen FM
- Message-ID: <828129997snz@tsys.demon.co.uk>
- References: <4j9hr7$skj@cronkite.seas.gwu.edu> <4jdg6b$sba@news.xs4all.nl>
- Reply-To: tomw@tsys.demon.co.uk
- X-NNTP-Posting-Host: tsys.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.30
- X-Sig-By: Tomsystems Quote v1.2. (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
- X-Mail2News-Path: tsys.demon.co.uk
-
- In article <4jdg6b$sba@news.xs4all.nl> falstaff@xs4all.nl "Falstaff" writes:
-
- > celtik@gwis2.circ.gwu.edu (Tolga Celtikci) writes:
- >
- > >Can anyone help me with the syntax of EOF. Is it '\o' or something else?
- >
- > #include <stdio.h>
- >
- > Then, EOF is EOF. (Usually defined as -1). Note that EOF is an
- > int and not a char, so you can't include it in a string.
-
- Not only that, it is pointless in a string. Just 'cos DOS has ^Z at the
- end of a file, doesn't mean that anything else (including DOS :) has to.
-
- .splitbung, who once managed to get a ^Z in the middle of a mail file, and
- still hasn't forgiven dos.
- --
- * TQ 1.0 * The 'Just So Quotes'.
- "I think you should defend to the death their right to march, and then go
- down and meet them with baseball bats."
- -- Woody Allen, on the KKK
-